package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.ExecutionPlan;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExecutionPlanMapper extends MyMapper<ExecutionPlan> {

    /**
    * @Author cp
    * @Description 插入执行计划
    * @Date 2021/10/22
    * @param executionPlans
    * @return void
    **/
    void insertExecutionPlans(@Param("executionPlans")List<ExecutionPlan> executionPlans);

    /**
     * @Author cp
     * @Description 删除执行计划
     * @Date 2021/10/22
     * @param parentId
     * @return void
     **/
    void delExecutionPlanByParentId(String parentId);

}
